<!DOCTYPE html>

<html>

<head>
    <title>平台License授权</title>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <script type="text/javascript" src="${request.contextPath}/static/libs/jquery.js"></script>
    <link rel="stylesheet" href="${request.contextPath}/static/libs/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="${request.contextPath}/static/modules/manager/css/global.css" media="all" />
    <link rel="icon" href="${request.contextPath}/static/appdata/filesres/sysopt/admin.png" type="image/x-icon"/>
    <style>
        #btnGoTo {
            display: none;
        }

        input[name='machinecode'] {
            background-color: rgba(247, 244, 244, 0.63);
            color: rgba(8, 8, 8, 0.63) !important;
            cursor: not-allowed;
        }
    </style>
</head>

<body>
	<div class="site-block" id="zhengling-zhuye">
        <div class="layui-hide">
            <input type="hidden" value="1" name="sysInitFlag" autocomplete="off">
            <input type="hidden" name="orgcode" value="${orgcode}">
        </div>
		<div class="layui-form" id="frmGridLicense" action="">
			<div class="layui-form-item">
				<label class="layui-form-label">机器码：</label>
				<div class="layui-input-block">
					<input type="text" name="machinecode" autocomplete="off" readonly class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">证书状态：</label>
				<div class="layui-input-block">
					<input type="text" name="licenseStatus" autocomplete="off" disabled class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-input-block">
					<button class="layui-btn" id="uploadLicense">上传license文件</button>
					<button class="layui-btn" id="btnGoTo">返回登录页</button>
				</div>
			</div>

        </div>
        <!--
		<hr class="layui-bg-blue">
		<form class="layui-form" id="frmGenerateLicense">
			<div class="layui-form-item">
				<label class="layui-form-label">机器码：</label>
				<div class="layui-input-block">
					<input type="text" name="machinecode" lay-verify="required|verifyMachineCode" placeholder="请输入机器码" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">证书永久：</label>
				<div class="layui-input-block">
					<input type="radio" name="licensePermanence" lay-filter="licensePermanence" value="1" title="是" checked>
					<input type="radio" name="licensePermanence" lay-filter="licensePermanence" value="0" title="否">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">证书时效：</label>
				<div class="layui-input-inline">
					<input type="text" class="layui-input" lay-verify="" id="licenseExpire" name="licenseExpire" placeholder="yyyy-MM-dd HH:mm:ss" readonly disabled>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-input-block">
					<button class="layui-btn" id="generateLicense" lay-submit lay-filter="generateLicense">生成license文件</button>
				</div>
			</div>
		-->
		</form>
	</div>
	<#include "base/pagefoot.ftl"/>
    <script type="text/javascript">
        if (window != top) {
			top.location.href = location.href;
		}
    </script>
	<script type="text/javascript" src="${request.contextPath}/static/modules/manager/corelicense/corelicense.js"></script>
</body>

</html>